﻿@model MvcHtmlDemo.Models.ProductModel

@{
    ViewBag.Title = "产品 - 编辑";
}

<div class="row">

    <h2>编辑</h2>
    <form role="form">
        <div class="form-group">
            <label class="control-label" for="title">标题</label><input type="text" class="form-control" id="title" name="title" value="@Html.Raw(ViewBag.Product.Title)" />
        </div>
        <div class="form-group">
            <label class="control-label" for="code">编号</label><input type="text" class="form-control" id="code" name="code" value="@Html.Raw(ViewBag.Product.Code)" />
        </div>
        <div>
            <button>提交</button>
        </div>
    </form>
</div>


<div>
    @Html.ActionLink("Back to List", "Index")
</div>

